const thunkify = require('thunkify');
const fs = require('fs');
const co = require('co');
const readFileThunk = thunkify(fs.readFile);
co(function *(){
    var res = yield readFileThunk('./package.json');
    console.log(JSON.parse(res).name)
    var res = yield readFileThunk('./package.json');
    console.log(JSON.parse(res).name)
})


